package com.example.Repository;

import com.example.domain.property.User;
import com.example.domain.visit.Visiter;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface VisiterRepository  extends JpaRepository<Visiter,Long> {
    //登录方法
    Visiter findByUsernameAndPassword(String username, String password);
}
